<%-- 
    Document   : indexrandommovie
    Created on : 07 31, 12, 6:21:55 PM
    Author     : Patrick
--%>

<%@page import="Factory.Tables.Movie"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%
 
    Movie movie = (Movie)session.getAttribute("randommovie");
    
%>
<font  color="white" style="font-weight:bold;" size="5px">Random Movie</font>
<div id="randommoviepic" style="line-height:0px;">
    <div style="border:2px solid #006666;text-align: center;background-color: black;">
        <img style="max-width:174px;max-height:98px;" src="images/movie/<%=movie.getMoviePic()%>"/>
    </div>
    <div id="randommoviedesc" style="width:177px;height:50px;background-color:#66cccc;line-height:normal;">
                <font color="black"><%=movie.getName()%></font>
    </div>

</div>